package com.gy.def.repository;

import com.gy.def.dataobject.MessageTable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface MessageRepository extends JpaRepository<MessageTable, String> {
  Page<MessageTable> findByIsDelete(int isDelete, Pageable pageable);

  MessageTable findByMessageId(String messageId);
}
